package com.oceansoft.mobile.biz.front.controller;


import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.oceansoft.mobile.biz.front.service.IAwardService;
import com.oceansoft.mobile.common.util.Result;



@Controller
@RequestMapping("award")
public class AwardController {
	
	@Resource
	private IAwardService awardService;
	
	@RequestMapping("initAward")
	public void initAward() {
		awardService.initAward();
	}
	
	@RequestMapping("start")
	@ResponseBody
	public Result startAward() {
		return awardService.startAward();
	}

}
